//
//  UIView+CKFrame.h
//  mmsh
//
//  Created by 朱青 on 2019/5/30.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIView (CKFrame)

@property (nonatomic) CGFloat ck_left;        ///< Shortcut for frame.origin.x.
@property (nonatomic) CGFloat ck_top;         ///< Shortcut for frame.origin.y
@property (nonatomic) CGFloat ck_right;       ///< Shortcut for frame.origin.x + frame.size.width
@property (nonatomic) CGFloat ck_bottom;      ///< Shortcut for frame.origin.y + frame.size.height
@property (nonatomic) CGFloat ck_width;       ///< Shortcut for frame.size.width.
@property (nonatomic) CGFloat ck_height;      ///< Shortcut for frame.size.height.
@property (nonatomic) CGFloat ck_centerX;     ///< Shortcut for center.x
@property (nonatomic) CGFloat ck_centerY;     ///< Shortcut for center.y
@property (nonatomic) CGPoint ck_origin;      ///< Shortcut for frame.origin.
@property (nonatomic) CGSize  ck_size;        ///< Shortcut for frame.size.

@end

NS_ASSUME_NONNULL_END
